﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.Office.Interop.Excel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PanhuaWin.系统管理
{
    public  class Bus_PlanLvZinc
    {
        /// <summary>
        ///
        /// </summary>
        [Key]
        [Display(Name = "guid")]
        [Column(TypeName = "uniqueidentifier")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public Guid guid { get; set; }

        /// <summary>
        ///工厂guid
        /// </summary>
        [Display(Name = "工厂guid")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string WorkShopGuid { get; set; }

        /// <summary>
        ///工厂编号
        /// </summary>
        [Display(Name = "工厂编号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string WorkShopCode { get; set; }

        /// <summary>
        ///部门guid
        /// </summary>
        [Display(Name = "部门guid")]
        [Column(TypeName = "uniqueidentifier")]
        [Editable(true)]
        public Guid? DepartGuid { get; set; }

        /// <summary>
        ///部门编号
        /// </summary>
        [Display(Name = "部门编号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string DepartCode { get; set; }

        /// <summary>
        ///产线编号
        /// </summary>
        [Display(Name = "产线编号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string WorkLineCode { get; set; }

        /// <summary>
        ///产线名称
        /// </summary>
        [Display(Name = "产线名称")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string WorkLineName { get; set; }

        /// <summary>
        ///计划日期
        /// </summary>
        [Display(Name = "计划日期")]
        [Column(TypeName = "date")]
        [Editable(true)]
        public DateTime? WorkDate { get; set; }

        /// <summary>
        ///序号
        /// </summary>
        [Display(Name = "序号")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? RowNumber { get; set; }

        /// <summary>
        ///热轧规格
        /// </summary>
        [Display(Name = "热轧规格")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string OriginalSize { get; set; }

        /// <summary>
        ///产地
        /// </summary>
        [Display(Name = "产地")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string Address { get; set; }

        /// <summary>
        ///卷号
        /// </summary>
        [Display(Name = "卷号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string VolumeCode { get; set; }

        /// <summary>
        ///新卷号
        /// </summary>
        [Display(Name = "新卷号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string VolumeCodeNew { get; set; }

        /// <summary>
        ///重量
        /// </summary>
        [Display(Name = "重量")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string Weight { get; set; }

        /// <summary>
        ///成品规格
        /// </summary>
        [Display(Name = "成品规格")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string OutputSize { get; set; }

        /// <summary>
        ///成品规格
        /// </summary>
        [Display(Name = "成品规格")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string ProductSize { get; set; }

        /// <summary>
        ///去向
        /// </summary>
        [Display(Name = "去向")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string NextWorkType { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "Remark")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string Remark { get; set; }

        /// <summary>
        ///材质
        /// </summary>
        [Display(Name = "材质")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string Material { get; set; }

        /// <summary>
        ///库位
        /// </summary>
        [Display(Name = "库位")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string StorageLocation { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "MAC")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string MAC { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "CreateID")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? CreateID { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "Creator")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string Creator { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "CreateDate")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime? CreateDate { get; set; }

        /// <summary>
        ///审批人ID
        /// </summary>
        [Display(Name = "审批人ID")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? ApproverID { get; set; }

        /// <summary>
        ///审批人
        /// </summary>
        [Display(Name = "审批人")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        [Editable(true)]
        public string Approver { get; set; }

        /// <summary>
        ///审批时间
        /// </summary>
        [Display(Name = "审批时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime? ApproverDate { get; set; }

        /// <summary>
        ///已经发送NC
        /// </summary>
        [Display(Name = "已经发送NC")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string IsSendToNC { get; set; }

        /// <summary>
        ///发送到NC时间
        /// </summary>
        [Display(Name = "发送到NC时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime? SendToNCDate { get; set; }

        /// <summary>
        ///米数
        /// </summary>
        [Display(Name = "米数")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string Meter { get; set; }

        /// <summary>
        ///客户
        /// </summary>
        [Display(Name = "客户")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string Customer { get; set; }

        /// <summary>
        ///锌层厚度
        /// </summary>
        [Display(Name = "锌层厚度")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string ZincThick { get; set; }

        /// <summary>
        ///分卷要求
        /// </summary>
        [Display(Name = "分卷要求")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string SplitDesc { get; set; }
    }
}
